home *** CD-ROM | disk | FTP | other *** search
/ Enigma Amiga Life 112 / EnigmaAmiga112CD.iso / dalla rivista / awnpipe / awnp / awnp-docs / label.doc < prev    next >
Text File  |  2000-05-14  |  2KB  |  66 lines

  1. Label gadget parameters.
  2. -------------------------
  3.  
  4. The label produces an image and usually putts it into your GUI right away. To use the label as a child label of a gadget You MUST use the unattached keyword.
  5.  
  6. unattached (ua)
  7.  
  8. The unattached keyword does not produce a gadget. It creates an image to be used .Up to 10 images can be predefined, the last one defined is the first one used. Last In First Out.
  9.  
  10. font=GID
  11.  
  12. This sets the font for the label. The GID points to an ALREADY defined text attribute.
  13.  
  14. Selected=num (s=)
  15.  
  16.  Set the pen number used to render the text.
  17.  
  18. gadgettext="Label text"  (gt=)
  19.  
  20.  Set the text of the Label.
  21.  
  22. underscore="CHAR"
  23.  
  24.  Use an alternate character to flag the hotkey for the label. CHAR is a single character. This defaults to underscore '_', changing it will allow an underscore to be used as a plain character in a label.
  25.  
  26. leftjustify  (lj)
  27. rightjustify (rj)
  28.  
  29.  Set the justification of the text for the gadget. Defaults to centerjustify.
  30.  
  31. minwidth=number  (minw=)
  32.  
  33.  Set the minimum width for this gadget
  34.  
  35. minheight=number (minh=)
  36.  
  37.  Set the minimum height for this gadget
  38.  
  39. weightedwidth=number  (weiw=)
  40.  
  41.  Set the weighted width for this gadget
  42.  
  43. weightedheight=number (weih=)
  44.  
  45.  Set the weighted height for this gadget
  46.  
  47. nominalsize  (noms)
  48.  
  49.  Set this gadget to its nominal size.
  50.  
  51. useimage   (ui)
  52.  
  53.  Use the last defined image (bitmap/drawlist/penmap) as the gadgets image.
  54.  
  55. Even
  56.  
  57.  Correct a possible layout problem in the image position. You will probably never use this parameter. Technically it moves th image up one pixel, which is useful when mixing different fonts in the same line.
  58.  
  59. Definition Reply
  60. ----------------
  61.  
  62.  When the image creation is successful the pipe replies with
  63.  
  64. 'ok WIDTH HEIGHT'
  65.  
  66.